/**
 * ____________________ *
 *  ____ ____ ____ _  _ *
 *  |___ [__] |--< |\/| *
 * ____________________ *
 *
 * THE CORM PROJECT
 *
 * This file may only be used in accordance with the
 * terms of the Academic Free License ("AFL") v. 3.0,
 * as published by the Open Software Initiative.  A
 * copy of this license is provided in this source
 * release, and may be viewed online at:
 *
 * (http://www.opensource.org/licenses/afl-3.0.php)
 */
package org.eremite.corm.party.relationship;

import org.eremite.corm.DefaultArchetype;

public class DefaultPartyRelationship
        extends DefaultArchetype
        implements PartyRelationship {

    private PartyRole primaryPartyRole;
    private PartyRole secondaryPartyRole;
    private PartyRelationshipType partyRelationshipType;

    /* Default Constructor */
    public DefaultPartyRelationship(){}

    public PartyRole getPrimaryPartyRole() {
        return this.primaryPartyRole;
    }

    public void setPrimaryPartyRole(PartyRole role) {
        this.primaryPartyRole = role;
    }

    public PartyRole getSecondaryPartyRole() {
        return this.secondaryPartyRole;
    }

    public void setSecondaryPartyRole(PartyRole role) {
        this.secondaryPartyRole = role;
    }

    public PartyRelationshipType getPartyRelationshipType() {
        return this.partyRelationshipType;
    }

    public void setPartyRelationshipType(PartyRelationshipType type) {
        this.partyRelationshipType = type;
    }
}